package ModelLayer;

public class Supplier 
{
	private int supplierID;
	private String name;
	private String address;
	private String zipCode;
	private String phoneNr;
	private String country;
	private String email;
	
	public Supplier()
	{
		
	}
	
	public Supplier(int supplierID)
	{
		this.setSupplierID(supplierID);
	}
	public Supplier(String name, String address, String zipCode, String phoneNr, String country, String email)
	{
		this.name = name;
		this.address = address;
		this.zipCode = zipCode;
		this.phoneNr = phoneNr;
		this.country = country;
		this.email = email;
	}
	
	public void setName(String newName)
	{
		name = newName;
	}
	public void setAddress(String newAddress)
	{
		address = newAddress;
	}
	public void setZipCode(String newZipCode)
	{
		zipCode = newZipCode;
	}
	public void setPhoneNr(String newPhoneNr)
	{
		phoneNr = newPhoneNr;
	}
	public void setCountry(String newCountry)
	{
		phoneNr = newCountry;
	}
	public void setEmail(String newEmail)
	{
		phoneNr = newEmail;
	}
	public void setSupplierID(int newSupplierID) 
	{
		this.supplierID = newSupplierID;
	}
	
	public String getName()
	{
		return name; 	
	}
	public String getAddress()
	{
		return address; 	
	}
	public String getZipCode()
	{
		return zipCode; 	
	}
	public String getPhoneNr()
	{
		return phoneNr; 	
	}
	public String getCountry()
	{
		return country; 	
	}
	public String getEmail()
	{
		return email; 	
	}
	public int getSupplierID() {
		return supplierID;
	}

}
